<!--
  Generated template for the CentrifugalPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<!-- <ion-header>

  <ion-navbar>
    <ion-title>离心&分血</ion-title>
  </ion-navbar>

</ion-header> -->


<ion-content class="centri">
    <div class="header" style="background: url('./assets/imgs/headers.png') no-repeat ; background-size:100% 100%;">
          离心&分装
     </div>
     <ion-list   *ngIf="listopt">
            <ion-item>
              <ion-label>请选择转运人</ion-label>
              <ion-select  [(ngModel)]="jieshouID" >
                    <ion-option *ngFor="let opti of optis" value="{{opti.name}}">
                        {{opti.name}}
                    </ion-option>
                </ion-select>
            </ion-item>
        </ion-list>
     <div class="alltop" *ngIf="alltext">
         <ion-grid >
                <ion-row *ngIf="Category">
                    <ion-col>
                      医院:
                    </ion-col>
                    <ion-col>
                     {{hospital}}
                    </ion-col>
                
                </ion-row>
                <ion-row>
                    <ion-col>
                      阶段:
                    </ion-col>
                    <ion-col>
                     {{stage}}
                    </ion-col>
                
                </ion-row>
                <ion-row *ngIf="Category">
                    <ion-col>
                      品类:
                    </ion-col>
                    <ion-col>
                     {{receiving}}
                    </ion-col>
                
                </ion-row>

                <ion-row  *ngFor="let item of codesArr"  >
                    <ion-col>
                     {{item.num}}
                    </ion-col>
                    <ion-col>
                     {{item.ppname}}
                    </ion-col>
                    <ion-col>
                     {{item.random}}
                    </ion-col>
                    <ion-col *ngIf="hemolysis">
                       <ion-checkbox  (ionChange)='chobxChange($event,item.id)' class='boxche'></ion-checkbox>溶血
                    </ion-col>
                </ion-row>
              
              
              
            </ion-grid>
     </div>
      <div  class="displayAlls" *ngIf="imgAll">
          <div class="disAll">
                   <img [src]="avatarPath1" alt=""  id="img1" class="displayss"/>
                    <img [src]="avatarPath2" alt=""  id="img2" class="displayss" *ngIf="img22" />
          </div>
       
        <div class="textcenter">
            {{MSG}}
        </div>
      </div>
     <div class="allbotm">
          <div  *ngIf="drawbloodshenfen" class=''>
                <div class="btnhomeSns">
                    <button class="btnhome"     (click)="getPictureGO1()">(单人身份认证)</button>
                    <button class="btnhome"     (click)="getPictureGO2()">(双人身份认证)</button>
                </div>
                <div class="btnhomeout">
                    <button class="btnhome"     (click)="gevidence()">放弃认证</button>
                  
                </div>
                
            </div>

         <div class="" *ngIf="all_one">
            <div  >
                <button   class="btnhome"  (click)="all()"><img [src]="statee" alt="" class="stateimg"/>请扫描</button>
            </div>
        </div>
         <div class="" *ngIf="sendOff">
            <div   class="btnhomeout">
                <button   class="btnhome"  (click)="sendBtnQD()">确定</button>
            </div>
             <div   class="btnhomeout">
                <button   class="btnhome"  (click)="sendBtnQX()">返回</button>
            </div>
        </div>
        <div class="" *ngIf="sample">
            <div  >
                <button   class="btnhome"  (click)="receiveScan()"><img [src]="statee" alt="" class="stateimg"/>接收扫描</button>
            </div>
            <div class="btnhomeT">
                <button  class="btnhomeAl"  (click)="reset()">重置</button>
                <button  class="btnhomeAl"  (click)="receive()">接收</button>
            </div>
        </div>
        <div class="" *ngIf="centrifugal">
            <div>
                <button   class="btnhome"  (click)="scanning()"><img [src]="statee" alt="" class="stateimg"/>离心扫描</button>
            </div>
            <div class="btnhomeT">
                <button  class="btnhomeAl"  (click)="reset()">重置</button>
                <button  class="btnhomeAl"  (click)="oneBondcen()">离心开始</button>
            </div>
        </div>
        <div class="" *ngIf="centrifugalend">
            
            <div class="btnhomeT">
                <button  class="btnhomeAl"  (click)="recentr()">重新离心</button>
                <button  class="btnhomeAl"  (click)="ifugalEnd()">离心结束</button>
            </div>
            <div>
                <button   class="btnhome"  (click)="reset()"><img [src]="statee" alt="" class="stateimg"/>重置</button>
            </div>
        </div>
        <div class="" *ngIf="warehousing">
            <div>
                <button   class="btnhome"  (click)="warehoScan()"><img [src]="statee" alt="" class="stateimg"/>冻存扫描</button>
            </div>
            <div class="btnhomeT">
                <button  class="btnhomeAl"  (click)="reset()">重置</button>
                <button  class="btnhomeAl"  (click)="oneKeyinto()">冻存</button>
            </div>
        </div>
        <div class="" *ngIf="split">
            <div *ngIf="split01">
                <button   class="btnhome"  (click)="splitScan()"><img [src]="statee" alt="" class="stateimg"/>分血扫描</button>
            </div>
            <div *ngIf="split02">
                <button   class="btnhome"  (click)="splitScan2()">记录分血时间</button>
            </div>
            <div>
                <button   class="btnhome"  id="btnhomegNs" (click)="reset()">重置</button>
            </div>
            
        </div>
        <div class="btnhomeout"  *ngIf="oneren">
            <button class="btnhome"     (click)="getPicture1()">拍照(请用前置摄像头)</button>
            <button class="btnhome"     (click)="getPictureSub1()">(提交认证)</button>

            <button class="btnhome"     (click)="giveup()">返回</button>
        </div>
        <div class="btnhomeout"  *ngIf="tworen">
            

            <button class="btnhome"     (click)="getPicture2()">拍照(请用前置摄像头)</button>
            <button class="btnhome"     (click)="getPictureSub2()">(提交认证)</button>
            <button class="btnhome"     (click)="giveup()">返回</button>
        </div>
     </div>
     
    
</ion-content>
